<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<link rel="stylesheet" type="text/css" href="../css/layui.css" />
		<link rel="stylesheet" type="text/css" href="../css/style.css" />
		<link rel="stylesheet" type="text/css" href="../css/laydate.css"/>
		<title>教务-班级管理-开设班级</title>
	</head>
	<body>
	<form class="layui-form" action="">
		<div id="main" class="layui-container">
			<div class="header layui-row">
				<div class=" headerList">
					<i class="Educational_icon"></i>
				  <span class="layui-breadcrumb" lay-separator=">">
					  <a href="javascript:;">教务</a>
					  <a href="javascript:;">班级管理</a>
					  <a href="javascript:;"><cite>开设班级</cite></a>
					</span>
				</div>
			</div>
			<div class="main layui-row">
				<div class="layui-col-md12 main_header">
					<blockquote class="layui-elem-quote">开设班级</blockquote>
				</div>
				<div class="layui-row main_con">
					<div class="layui-col-md5">
						<div class="layui-row layui-form-item">
							<span class="list_name">班级名称</span>
							<div class="list_con layui-input-block">
								<input type="text" id="class_name" class="layui-input" value="请输入..." lay-verify="required" />
							</div>
						</div>
						<div class="layui-row layui-form-item">
							<span class="list_name">班级编号</span>
							<div class="list_con layui-input-block">
								<button class="layui-btn layui-btn-disabled layui-input" id="class_num" style="text-align: left;background-color: #ebeaea;">系统自动生成</button>
								<!--<input type="text" id="class_num" class="layui-input layui-btn-disabled" value="系统自动生成" lay-verify="required"/>-->
							</div>
						</div>
						<div class="layui-row layui-form-item">
							<span class="list_name">收费方式</span>
							<div class="list_con layui-input-block">
								<input type="radio" name="mode" class="paymode" value="银行卡" title="银行卡"/>
								<input type="radio" name="mode" class="paymode" value="支付宝" title="支付宝"/>
								<input type="radio" name="mode" class="paymode" value="微信" title="微信"/>
							</div>
						</div>
						<div class="layui-row layui-form-item">
							<span class="list_name">课程分类</span>
							<div class="list_con layui-input-block">
								<select name="curriculum_fl" lay-verify="required">
									<option value=""></option>
									<option value="0">物理</option>
									<option value="1">语文</option>
									<option value="2">数学</option>
									<option value="3">英语</option>
								</select>
							</div>
						</div>
						<div class="layui-row layui-form-item">
							<span class="list_name">课程名称</span>
							<div class="list_con layui-input-block">
								<select name="curriculum_name" lay-verify="required">
									<option value=""></option>
									<option value="0">物理</option>
									<option value="1">语文</option>
									<option value="2">数学</option>
									<option value="3">英语</option>
								</select>
							</div>
						</div>
						<div class="layui-row layui-form-item">
							<span class="list_name">授课形式</span>
							<div class="list_con layui-input-block">
								<button class="layui-btn layui-btn-disabled layui-input" id="teaching_form" style="text-align: left;background-color: #ebeaea;">一对多教学</button>
								<!--<input type="text" class="layui-input" id="teaching_form" value="一对多教学" />-->
							</div>
						</div>
						<div class="layui-row layui-form-item layui-col-space20">
							<div class="layui-col-md6">
								<span class="list_name">主讲老师</span>
								<div class="list_con layui-input-block">
									<select name="Lecturer" lay-verify="required">
										<option value=""></option>
										<option value="0">物理</option>
										<option value="1">语文</option>
										<option value="2">数学</option>
										<option value="3">英语</option>
									</select>
								</div>
							</div>
							<div class="layui-col-md6">
								<span class="list_name">班主任/助教</span>
								<div class="list_con layui-input-block">
									<select name="Headmaster" lay-verify="required">
										<option value=""></option>
										<option value="0">物理</option>
										<option value="1">语文</option>
										<option value="2">数学</option>
										<option value="3">英语</option>
									</select>
								</div>
							</div>
						</div>
						<div class="layui-row layui-form-item">
							<span class="list_name">上课规律</span>
							<div class="list_con layui-input-block">
								<select name="Law" lay-verify="required">
									<option value=""></option>
									<option value="0">物理</option>
									<option value="1">语文</option>
									<option value="2">数学</option>
									<option value="3">英语</option>
								</select>
							</div>
						</div>
						<div class="layui-row layui-form-item">
							<span class="list_name">考勤选项</span>
							<div class="list_con layui-input-block layui-row layui-col-space20">
								<div class="layui-col-md4">
									<select name="options" lay-verify="required">
										<option value=""></option>
										<option value="0">物理</option>
										<option value="1">语文</option>
										<option value="2">数学</option>
										<option value="3">英语</option>
									</select>
								</div>
								<div class="layui-col-md4">
									<select name="options1" lay-verify="required">
										<option value=""></option>
										<option value="0">物理</option>
										<option value="1">语文</option>
										<option value="2">数学</option>
										<option value="3">英语</option>
									</select>
								</div>
								<div class="layui-col-md4">
									<select name="options2" lay-verify="required">
										<option value=""></option>
										<option value="0">物理</option>
										<option value="1">语文</option>
										<option value="2">数学</option>
										<option value="3">英语</option>
									</select>
								</div>
								<div class="layui-col-md6">
									<div class="layui-row">
										<input type="text" class="layui-input" id="signIn" placeholder="签到时间">
									</div>
								</div>
								<div class="layui-col-md6">
									<div class="layui-row">
										<input type="text" class="layui-input" id="SignBack" placeholder="签退时间">
									</div>
								</div>
							</div>
						</div>
						<div class="layui-row layui-form-item">
							<span class="list_name">录入员</span>
							<div class="list_con layui-input-block">
								<select name="operato" rlay-verify="required">
									<option value=""></option>
									<option value="0">物理</option>
									<option value="1">语文</option>
									<option value="2">数学</option>
									<option value="3">英语</option>
								</select>
							</div>
						</div>
					</div>
					<div class="layui-col-md2">&nbsp;</div>
					<div class="layui-col-md5">
						<div class="layui-row layui-form-item layui-col-space20">
							<div class="layui-col-md6">
								<span class="list_name">班级名称</span>
								<div class="list_con layui-input-block">
									<input type="text" class="layui-input" id="startDate" placeholder="开课时间">
								</div>
							</div>
							<div class="layui-col-md6">
								<span class="list_name">班级名称</span>
								<div class="list_con layui-input-block">
									<input type="text" class="layui-input" id="endDate" placeholder="结束时间">
								</div>
							</div>
						</div>
						<div class="layui-row layui-form-item">
							<span class="list_name">上课地点</span>
							<div class="list_con layui-input-block">
								<select name="place" lay-verify="required">
									<option value=""></option>
									<option value="0">物理</option>
									<option value="1">语文</option>
									<option value="2">数学</option>
									<option value="3">英语</option>
								</select>
							</div>
						</div>
						<div class="layui-row layui-form-item">
							<span class="list_name">计划招生数</span>
							<div class="list_con layui-input-block">
								<input type="text" class="layui-input" id="number_plan" value="请输入..." />
							</div>
						</div>
						<div class="layui-row layui-form-item">
							<span class="list_name">教室</span>
							<div class="list_con layui-input-block">
								<select name="classroom" lay-verify="required">
									<option value=""></option>
									<option value="0">物理</option>
									<option value="1">语文</option>
									<option value="2">数学</option>
									<option value="3">英语</option>
								</select>
							</div>
						</div>
						<div class="layui-row layui-form-item">
							<span class="list_name">总课时</span>
							<div class="list_con layui-input-block">
								<input type="text" class="layui-input" id="totalHours" value="请输入..." />
							</div>
						</div>
						<div class="layui-row layui-form-item">
							<span class="list_name">每课时</span>
							<div class="list_con layui-input-block">
								<input type="text" class="layui-input" id="everyHours" value="请输入..." />
							</div>
						</div>
						<div class="layui-row layui-form-item">
							<span class="list_name">主讲课时提成比例</span>
							<div class="list_con layui-input-block">
								<select name="speaker" lay-verify="required">
									<option value=""></option>
									<option value="0">物理</option>
									<option value="1">语文</option>
									<option value="2">数学</option>
									<option value="3">英语</option>
								</select>
							</div>
						</div>
						<div class="layui-row layui-form-item">
							<span class="list_name">助教课时提成比例</span>
							<div class="list_con layui-input-block">
								<select name="assistant" lay-verify="required">
									<option value=""></option>
									<option value="0">物理</option>
									<option value="1">语文</option>
									<option value="2">数学</option>
									<option value="3">英语</option>
								</select>
							</div>
						</div>
						<div class="layui-row layui-form-item">
							<span class="list_name">上课规律</span>
							<div class="list_con layui-input-block">
								<select name="laws" lay-verify="required">
									<option value=""></option>
									<option value="0">物理</option>
									<option value="1">语文</option>
									<option value="2">数学</option>
									<option value="3">英语</option>
								</select>
							</div>
						</div>
						<div class="layui-row layui-form-item">
							<span class="list_name">班级介绍</span>
							<div class="list_con layui-input-block">
								<textarea name="desc" id="introduce" placeholder="请输入内容" class="layui-textarea" ></textarea>
							</div>
						</div>
					</div>
					<div class="layui-row layui-form-item">
						<div class="layui-input-block" style="text-align: center;">
						  <button class="layui-btn" lay-submit lay-filter="formDemo">提交</button>
						  <button type="button" class="layui-btn" style="background-color: #666666;">返回</button>
						</div>
					</div>
				</div>
			</div>
		</div>
	</form>
<script src="../js/layui.all.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript">

	layui.use(['form','laydate'], function(){
  var form = layui.form,
	laydate = layui.laydate;
	// 签到时间
	laydate.render({
		elem: '#signIn' //指定元素
	});
	 // 签退时间
	laydate.render({
		elem: '#SignBack'
	});
	// 开课时间
	laydate.render({
		elem: '#startDate'
	});
	// 结束时间
	laydate.render({
		elem: '#endDate'
	});
  <!--//监听提交-->
  form.on('submit(formDemo)', function(data){
    layer.msg(JSON.stringify(data.field));
    return false;
  });
});

</script>
	</body>
</html>
